package com.zzy.database.service;

public interface TransactionService {
    // 存款
    boolean deposit(int accountId, double amount);

    // 取款
    boolean withdraw(int accountId, double amount);

    // 转账
    boolean transfer(int fromAccountId, int toAccountId, double amount);
}